<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
    <link rel="stylesheet" href="/resources/demos/style.css" />
    <script>
    $(function() {
        $( "#datepicker" ).datepicker({ maxDate: "+1m", minDate: "-2y", dateFormat: "dd.mm.yy", firstDay: 1,
         dayNames: [ "", "", "", "", "", "", "" ],
         dayNamesMin: [ "", "", "", "", "", "", "" ],
        monthNames: [ "1 /", "2 /", "3 /", "4 /", "5 /", "6 /", "7 /", "8 /", "9 /", "10 /", "11 /", "12 /" ]});
    });
    </script>
<s:errors/>
<table>
	<tr>
                <th><s:label for="v1" name="visit.visitDate"/></th>
                <td><input type="text" id="datepicker" name="visit.visitDate" value ="${actionBean.visit.visitDate}" /></td>
	</tr>
	<tr>
                <th><s:label for="v2" name="visit.description"/></th>
                <td><s:text id="v2" name="visit.description"/>
	</tr>
	<tr>
		<th><s:label for="v3" name="visit.forest"/></th>
		<td><s:select id="v3" name="visit.forest.id" value ="${actionBean.visit.forest.id}">
				<s:options-collection collection="${actionBean.forests}" value="id" label="name"/>
			</s:select></td>
	</tr>
	<tr>
		<th><s:label for="v4" name="visit.picker"/></th>
		<td><s:select id="v4" name="visit.picker.id" value ="${actionBean.visit.picker.id}">
				<s:options-collection collection="${actionBean.pickers}" value="id" label="login"/>
			</s:select></td>
	</tr>    
</table>